Checkstyle Results

The following document contains the results of Checkstyle .

Summary

Files Errors
45 811

Files

Files Errors
news/command/ClassCMD.java 107
news/command/GoCMD.java 12
news/command/NewsCMD.java 126
news/common/CommonCommand.java 73
news/jdo/bean/CommonClass.java 38
news/jdo/bean/JDOConst.java 5
news/jdo/bean/News.java 17
news/jdo/bean/NewsBean.java 94
news/jdo/bean/NewsBeanBase.java 44
news/jdo/bean/NewsClass.java 77
news/jdo/bean/NewsNClass.java 8
news/jdo/bean/NewsSys.java 21
news/jdo/bean/User.java 6
news/jibx/bean/NewsCommonXML.java 77
news/jibx/bean/NewsInfo.java 14
news/jibx/bean/PageBean.java 19
news/jibx/bean/SystemConfig.java 28
news/test/JDOTest.java 10
news/test/JDOTestTest.java 10
news/test/JibxUtilTest.java 25

news/command/ClassCMD.java

Error Line
Line does not match expected header line of ' GNU GENERAL PUBLIC LICENSE'. 1
Line is longer than 80 characters. 21
Method 'getName' is not designed for extension - needs to be abstract, final or empty. 71
Method 'execute' is not designed for extension - needs to be abstract, final or empty. 85
Line has trailing spaces. 86
Redundant throws: 'LogicException' is subclass of 'SQLException'. 86
Unable to get class information for LogicException. 86
Redundant throws: 'SQLException' is subclass of 'ServletException'. 86
Unable to get class information for ServletException. 86
Redundant throws: 'ServletException' is subclass of 'UtilException'. 86
Unable to get class information for ServletException. 86
Unable to get class information for UtilException. 87
Name 'AddClass' must match pattern '^[a-z][a-zA-Z0-9]*$'. 121
Line has trailing spaces. 122
Redundant throws: 'ServletException' is subclass of 'UtilException'. 122
Unable to get class information for ServletException. 122
Redundant throws: 'UtilException' is subclass of 'SQLException'. 122
Unable to get class information for UtilException. 122
Redundant throws: 'SQLException' is subclass of 'LogicException'. 122
Unable to get class information for LogicException. 122
Unable to get class information for LogicException. 123
Line has trailing spaces. 138
Line has trailing spaces. 170
Redundant throws: 'UtilException' is subclass of 'SQLException'. 170
Unable to get class information for UtilException. 170
Redundant throws: 'SQLException' is subclass of 'LogicException'. 170
Unable to get class information for LogicException. 170
Redundant throws: 'LogicException' is subclass of 'ServletException'. 170
Unable to get class information for LogicException. 170
Unable to get class information for ServletException. 171
Line has trailing spaces. 210
Redundant throws: 'UtilException' is subclass of 'SQLException'. 210
Unable to get class information for UtilException. 210
Redundant throws: 'SQLException' is subclass of 'LogicException'. 210
Unable to get class information for LogicException. 210
Redundant throws: 'LogicException' is subclass of 'ServletException'. 210
Unable to get class information for LogicException. 210
Unable to get class information for ServletException. 211
Line is longer than 80 characters. 214
Line has trailing spaces. 230
Redundant throws: 'UtilException' is subclass of 'SQLException'. 230
Unable to get class information for UtilException. 230
Redundant throws: 'SQLException' is subclass of 'LogicException'. 230
Unable to get class information for LogicException. 230
Redundant throws: 'LogicException' is subclass of 'ServletException'. 230
Unable to get class information for LogicException. 230
Unable to get class information for ServletException. 231
Line is longer than 80 characters. 242
Line has trailing spaces. 264
Redundant throws: 'UtilException' is subclass of 'SQLException'. 264
Unable to get class information for UtilException. 264
Redundant throws: 'SQLException' is subclass of 'LogicException'. 264
Unable to get class information for LogicException. 264
Redundant throws: 'LogicException' is subclass of 'ServletException'. 264
Unable to get class information for LogicException. 264
Unable to get class information for ServletException. 265
Must have at least one statement. 281
Line has trailing spaces. 305
Redundant throws: 'ServletException' is subclass of 'UtilException'. 305
Unable to get class information for ServletException. 305
Redundant throws: 'UtilException' is subclass of 'SQLException'. 305
Unable to get class information for UtilException. 305
Redundant throws: 'SQLException' is subclass of 'LogicException'. 305
Unable to get class information for LogicException. 305
Unable to get class information for LogicException. 306
Line has trailing spaces. 322
Redundant throws: 'UtilException' is subclass of 'SQLException'. 322
Unable to get class information for UtilException. 322
Redundant throws: 'SQLException' is subclass of 'LogicException'. 322
Unable to get class information for LogicException. 322
Redundant throws: 'LogicException' is subclass of 'ServletException'. 322
Unable to get class information for LogicException. 322
Unable to get class information for ServletException. 323
Line has trailing spaces. 344
Redundant throws: 'UtilException' is subclass of 'SQLException'. 344
Unable to get class information for UtilException. 344
Redundant throws: 'SQLException' is subclass of 'LogicException'. 344
Unable to get class information for LogicException. 344
Redundant throws: 'LogicException' is subclass of 'ServletException'. 344
Unable to get class information for LogicException. 344
Unable to get class information for ServletException. 345
Line is longer than 80 characters. 356
Line has trailing spaces. 370
Redundant throws: 'UtilException' is subclass of 'SQLException'. 370
Unable to get class information for UtilException. 370
Redundant throws: 'SQLException' is subclass of 'LogicException'. 370
Unable to get class information for LogicException. 370
Redundant throws: 'LogicException' is subclass of 'ServletException'. 371
Unable to get class information for LogicException. 371
Unable to get class information for ServletException. 371
Line has trailing spaces. 390
Redundant throws: 'UtilException' is subclass of 'SQLException'. 390
Unable to get class information for UtilException. 390
Redundant throws: 'SQLException' is subclass of 'LogicException'. 390
Unable to get class information for LogicException. 390
Redundant throws: 'LogicException' is subclass of 'ServletException'. 390
Unable to get class information for LogicException. 390
Unable to get class information for ServletException. 391
Must have at least one statement. 407
Line has trailing spaces. 431
Redundant throws: 'UtilException' is subclass of 'SQLException'. 431
Unable to get class information for UtilException. 431
Redundant throws: 'SQLException' is subclass of 'LogicException'. 431
Unable to get class information for LogicException. 431
Redundant throws: 'LogicException' is subclass of 'ServletException'. 431
Unable to get class information for LogicException. 431
Unable to get class information for ServletException. 432

news/command/GoCMD.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 21
Method 'getName' is not designed for extension - needs to be abstract, final or empty. 62
Method 'execute' is not designed for extension - needs to be abstract, final or empty. 76
Line has trailing spaces. 77
Redundant throws: 'LogicException' is subclass of 'SQLException'. 77
Unable to get class information for LogicException. 77
Redundant throws: 'SQLException' is subclass of 'ServletException'. 77
Unable to get class information for ServletException. 77
Redundant throws: 'ServletException' is subclass of 'UtilException'. 77
Unable to get class information for ServletException. 77
Unable to get class information for UtilException. 78

news/command/NewsCMD.java

Error Line
Line does not match expected header line of ' GNU GENERAL PUBLIC LICENSE'. 1
Line is longer than 80 characters. 21
Variable 'perPage' must be private and have accessor methods. 103
Method 'getName' is not designed for extension - needs to be abstract, final or empty. 112
Method 'execute' is not designed for extension - needs to be abstract, final or empty. 119
Line has trailing spaces. 120
Redundant throws: 'LogicException' is subclass of 'SQLException'. 120
Unable to get class information for LogicException. 120
Redundant throws: 'SQLException' is subclass of 'ServletException'. 120
Unable to get class information for ServletException. 120
Redundant throws: 'ServletException' is subclass of 'UtilException'. 120
Unable to get class information for ServletException. 120
Unable to get class information for UtilException. 121
Line is longer than 80 characters. 152
Expected @throws tag for 'UtilException'. 152
Redundant throws: 'UtilException' is subclass of 'SQLException'. 152
Unable to get class information for UtilException. 152
Expected @throws tag for 'SQLException'. 152
Redundant throws: 'SQLException' is subclass of 'LogicException'. 152
Unable to get class information for LogicException. 152
Expected @throws tag for 'LogicException'. 152
Unable to get class information for LogicException. 152
Parameter oidStr should be final. 172
Parameter order should be final. 172
Redundant throws: 'UtilException' is subclass of 'SQLException'. 173
Unable to get class information for UtilException. 173
Redundant throws: 'SQLException' is subclass of 'LogicException'. 173
Unable to get class information for LogicException. 173
Unable to get class information for LogicException. 173
Parameter oidStr should be final. 192
Parameter order should be final. 192
Parameter filter should be final. 192
Redundant throws: 'UtilException' is subclass of 'SQLException'. 193
Unable to get class information for UtilException. 193
Redundant throws: 'SQLException' is subclass of 'LogicException'. 193
Unable to get class information for LogicException. 193
Unable to get class information for LogicException. 193
Parameter classId should be final. 207
Expected @param tag for 'classId'. 207
Parameter order should be final. 207
Expected @param tag for 'order'. 207
Expected @throws tag for 'SQLException'. 208
Redundant throws: 'SQLException' is subclass of 'LogicException'. 208
Unable to get class information for LogicException. 208
Expected @throws tag for 'LogicException'. 208
Unable to get class information for LogicException. 208
Line has trailing spaces. 233
Redundant throws: 'SQLException' is subclass of 'LogicException'. 233
Unable to get class information for LogicException. 233
Redundant throws: 'LogicException' is subclass of 'UtilException'. 233
Unable to get class information for LogicException. 233
Redundant throws: 'UtilException' is subclass of 'ServletException'. 233
Unable to get class information for UtilException. 233
Unable to get class information for ServletException. 234
Parameter doc should be final. 294
Expected @param tag for 'doc'. 294
Parameter key should be final. 310
Expected @param tag for 'key'. 310
Expected @throws tag for 'SQLException'. 311
Redundant throws: 'SQLException' is subclass of 'LogicException'. 311
Unable to get class information for LogicException. 311
Expected @throws tag for 'LogicException'. 311
Unable to get class information for LogicException. 311
'10' is a magic number. 328
'10' is a magic number. 329
Parameter nb should be final. 340
Expected @param tag for 'nb'. 340
Expected @throws tag for 'UtilException'. 340
Unable to get class information for UtilException. 340
Redundant throws: 'LuceneException' is subclass of 'ServletException'. 361
Unable to get class information for LuceneException. 361
Redundant throws: 'ServletException' is subclass of 'UtilException'. 361
Unable to get class information for ServletException. 361
Unable to get class information for UtilException. 361
Must have at least one statement. 418
Line has trailing spaces. 433
Redundant throws: 'ServletException' is subclass of 'UtilException'. 433
Unable to get class information for ServletException. 433
Redundant throws: 'UtilException' is subclass of 'SQLException'. 433
Unable to get class information for UtilException. 433
Redundant throws: 'SQLException' is subclass of 'LogicException'. 433
Unable to get class information for LogicException. 433
Unable to get class information for LogicException. 434
Line has trailing spaces. 453
Redundant throws: 'ServletException' is subclass of 'UtilException'. 453
Unable to get class information for ServletException. 453
Redundant throws: 'UtilException' is subclass of 'SQLException'. 453
Unable to get class information for UtilException. 453
Redundant throws: 'SQLException' is subclass of 'LogicException'. 453
Unable to get class information for LogicException. 453
Unable to get class information for LogicException. 454
Avoid inline conditionals. 478
Line has trailing spaces. 499
Redundant throws: 'UtilException' is subclass of 'SQLException'. 499
Unable to get class information for UtilException. 499
Redundant throws: 'SQLException' is subclass of 'LogicException'. 499
Unable to get class information for LogicException. 499
Redundant throws: 'LogicException' is subclass of 'ServletException'. 499
Unable to get class information for LogicException. 499
Unable to get class information for ServletException. 500
Line has trailing spaces. 535
Redundant throws: 'ServletException' is subclass of 'UtilException'. 535
Unable to get class information for ServletException. 535
Redundant throws: 'UtilException' is subclass of 'SQLException'. 535
Unable to get class information for UtilException. 535
Redundant throws: 'SQLException' is subclass of 'LogicException'. 535
Unable to get class information for LogicException. 535
Unable to get class information for LogicException. 536
Line is longer than 80 characters. 542
Line has trailing spaces. 568
Redundant throws: 'ServletException' is subclass of 'UtilException'. 568
Unable to get class information for ServletException. 568
Redundant throws: 'UtilException' is subclass of 'SQLException'. 568
Unable to get class information for UtilException. 568
Redundant throws: 'SQLException' is subclass of 'LogicException'. 568
Unable to get class information for LogicException. 568
Unable to get class information for LogicException. 569
Line is longer than 80 characters. 572
Line has trailing spaces. 585
Redundant throws: 'ServletException' is subclass of 'UtilException'. 585
Unable to get class information for ServletException. 585
Redundant throws: 'UtilException' is subclass of 'SQLException'. 585
Unable to get class information for UtilException. 585
Redundant throws: 'SQLException' is subclass of 'LogicException'. 586
Unable to get class information for LogicException. 586
Unable to get class information for LogicException. 586

news/common/CommonCommand.java

Error Line
Line does not match expected header line of ' GNU GENERAL PUBLIC LICENSE'. 1
Line is longer than 80 characters. 21
Variable 'xp' must be private and have accessor methods. 90
Variable 'dispatcher' must be private and have accessor methods. 93
Variable 'msgDoc' must be private and have accessor methods. 96
Variable 'request' must be private and have accessor methods. 99
Variable 'response' must be private and have accessor methods. 102
Variable 'session' must be private and have accessor methods. 105
Variable 'ctx' must be private and have accessor methods. 108
Variable 'encoding' must be private and have accessor methods. 111
Variable 'out' must be private and have accessor methods. 114
Variable 'pm' must be private and have accessor methods. 117
Variable 'config' must be private and have accessor methods. 120
Variable 'action' must be private and have accessor methods. 123
Variable 'nextPage' must be private and have accessor methods. 126
Variable 'systemOID' must be private and have accessor methods. 129
Variable 'warPath' must be private and have accessor methods. 132
Variable 'xmlParams' must be private and have accessor methods. 135
Method 'getSystemConfig' is not designed for extension - needs to be abstract, final or empty. 146
Unable to get class information for UtilException. 146
Line is longer than 80 characters. 148
Line is longer than 80 characters. 150
Line is longer than 80 characters. 158
Method 'init' is not designed for extension - needs to be abstract, final or empty. 160
Parameter dispatcher should be final. 160
'dispatcher' hides a field. 160
Unable to get class information for ServletException. 160
Method 'getDBSequence' is not designed for extension - needs to be abstract, final or empty. 189
Method 'getOuputStream' is not designed for extension - needs to be abstract, final or empty. 203
Unable to get class information for ServletException. 203
Line contains a tab character. 204
Method 'getPM' is not designed for extension - needs to be abstract, final or empty. 221
Redundant throws: 'SQLException' is subclass of 'LogicException'. 221
Unable to get class information for LogicException. 221
Unable to get class information for LogicException. 221
Line is longer than 80 characters. 224
Method 'getTransaction' is not designed for extension - needs to be abstract, final or empty. 241
Expected @throws tag for 'SQLException'. 241
Redundant throws: 'SQLException' is subclass of 'LogicException'. 241
Unable to get class information for LogicException. 241
Expected @throws tag for 'LogicException'. 241
Unable to get class information for LogicException. 241
Line has trailing spaces. 242
Method 'getXsltFileFromUrl' is not designed for extension - needs to be abstract, final or empty. 251
Line is longer than 80 characters. 273
Method 'appendMSGDoc' is not designed for extension - needs to be abstract, final or empty. 287
Parameter doc should be final. 287
Expected @param tag for 'doc'. 287
Method 'go' is not designed for extension - needs to be abstract, final or empty. 304
Parameter obj should be final. 304
Parameter xslt should be final. 304
Redundant throws: 'ServletException' is subclass of 'UtilException'. 305
Unable to get class information for ServletException. 305
Unable to get class information for UtilException. 305
Method 'go' is not designed for extension - needs to be abstract, final or empty. 321
Redundant throws: 'ServletException' is subclass of 'UtilException'. 321
Unable to get class information for ServletException. 321
Unable to get class information for UtilException. 321
Method 'go' is not designed for extension - needs to be abstract, final or empty. 335
Parameter obj should be final. 335
Redundant throws: 'ServletException' is subclass of 'UtilException'. 335
Unable to get class information for ServletException. 335
Unable to get class information for UtilException. 335
Method 'printClassList' is not designed for extension - needs to be abstract, final or empty. 346
Parameter ns should be final. 346
Unable to get class information for UtilException. 346
Method 'printClassList' is not designed for extension - needs to be abstract, final or empty. 365
Redundant throws: 'UtilException' is subclass of 'SQLException'. 366
Unable to get class information for UtilException. 366
Redundant throws: 'SQLException' is subclass of 'LogicException'. 366
Unable to get class information for LogicException. 366
Unable to get class information for LogicException. 366
Unable to get class information for ServletException. 378

news/jdo/bean/CommonClass.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 21
Redundant 'public' modifier. 53
Expected @param tag for 'i'. 53
Redundant 'public' modifier. 58
Redundant 'public' modifier. 63
Expected @param tag for 'string'. 63
Redundant 'public' modifier. 68
Redundant 'public' modifier. 73
Expected @param tag for 'string'. 73
Redundant 'public' modifier. 78
Redundant 'public' modifier. 83
Expected @param tag for 'i'. 83
Redundant 'public' modifier. 88
Redundant 'public' modifier. 93
Expected @param tag for 'date'. 93
Redundant 'public' modifier. 98
Redundant 'public' modifier. 103
Expected @param tag for 'i'. 103
Redundant 'public' modifier. 108
Redundant 'public' modifier. 113
Expected @param tag for 'string'. 113
Redundant 'public' modifier. 118
Redundant 'public' modifier. 123
Expected @param tag for 'string'. 123
Redundant 'public' modifier. 128
Redundant 'public' modifier. 133
Expected @param tag for 'i'. 133
Redundant 'public' modifier. 138
Redundant 'public' modifier. 143
Expected @param tag for 'i'. 143
Redundant 'public' modifier. 148
Redundant 'public' modifier. 153
Expected @param tag for 'i'. 153
Redundant 'public' modifier. 158
Redundant 'public' modifier. 163
Expected @param tag for 'i'. 163
Redundant 'public' modifier. 168

news/jdo/bean/JDOConst.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 21
Redundant 'public' modifier. 57
Unable to get class information for UtilException. 57
Redundant 'public' modifier. 62

news/jdo/bean/News.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 21
Redundant 'public' modifier. 53
Expected @param tag for 'string'. 53
Redundant 'public' modifier. 58
Redundant 'public' modifier. 63
Expected @param tag for 'string'. 63
Redundant 'public' modifier. 68
Redundant 'public' modifier. 75
Redundant 'public' modifier. 80
Unable to get class information for UtilException. 80
Redundant 'public' modifier. 85
Expected @param tag for 'string'. 85
Redundant 'public' modifier. 90
Redundant 'public' modifier. 95
Expected @param tag for 'string'. 95
Redundant 'public' modifier. 100

news/jdo/bean/NewsBean.java

Error Line
Line does not match expected header line of ' GNU GENERAL PUBLIC LICENSE'. 1
Line is longer than 80 characters. 21
Variable 'keyNewsList' must be private and have accessor methods. 51
Name 'NClassId' must match pattern '^[a-z][a-zA-Z0-9]*$'. 54
Variable 'NClassId' must be private and have accessor methods. 54
Variable 'authorFrom' must be private and have accessor methods. 59
Variable 'content' must be private and have accessor methods. 64
Variable 'key' must be private and have accessor methods. 67
Variable 'permitGroups' must be private and have accessor methods. 70
Variable 'headLine' must be private and have accessor methods. 73
Variable 'highlight' must be private and have accessor methods. 76
Variable 'imgNews' must be private and have accessor methods. 79
Variable 'isHtml' must be private and have accessor methods. 82
Variable 'checkUserId' must be private and have accessor methods. 85
Variable 'dayHits' must be private and have accessor methods. 88
Variable 'memberId' must be private and have accessor methods. 91
Variable 'remarkNum' must be private and have accessor methods. 94
Variable 'topicId' must be private and have accessor methods. 100
Variable 'userId' must be private and have accessor methods. 103
Variable 'weekHits' must be private and have accessor methods. 106
Line has trailing spaces. 116
Method 'setAuthorFrom' is not designed for extension - needs to be abstract, final or empty. 124
Parameter string should be final. 124
Expected @param tag for 'string'. 124
Method 'getAuthorFrom' is not designed for extension - needs to be abstract, final or empty. 131
Method 'setCheckUserId' is not designed for extension - needs to be abstract, final or empty. 138
Parameter i should be final. 138
Expected @param tag for 'i'. 138
Method 'getCheckUserId' is not designed for extension - needs to be abstract, final or empty. 145
Method 'setContent' is not designed for extension - needs to be abstract, final or empty. 152
Parameter string should be final. 152
Expected @param tag for 'string'. 152
Method 'getContent' is not designed for extension - needs to be abstract, final or empty. 159
Method 'setDayHits' is not designed for extension - needs to be abstract, final or empty. 166
Parameter i should be final. 166
Expected @param tag for 'i'. 166
Method 'getDayHits' is not designed for extension - needs to be abstract, final or empty. 173
Method 'setFrom' is not designed for extension - needs to be abstract, final or empty. 180
Parameter string should be final. 180
Expected @param tag for 'string'. 180
Method 'getFrom' is not designed for extension - needs to be abstract, final or empty. 187
Method 'setHeadLine' is not designed for extension - needs to be abstract, final or empty. 194
Parameter b should be final. 194
Expected @param tag for 'b'. 194
Method 'isHeadLine' is not designed for extension - needs to be abstract, final or empty. 201
Method 'setHighlight' is not designed for extension - needs to be abstract, final or empty. 208
Parameter b should be final. 208
Expected @param tag for 'b'. 208
Method 'isHighlight' is not designed for extension - needs to be abstract, final or empty. 215
Method 'setHtml' is not designed for extension - needs to be abstract, final or empty. 222
Parameter b should be final. 222
Expected @param tag for 'b'. 222
Method 'isHtml' is not designed for extension - needs to be abstract, final or empty. 229
Method 'setImgNews' is not designed for extension - needs to be abstract, final or empty. 236
Parameter b should be final. 236
Expected @param tag for 'b'. 236
Method 'isImgNews' is not designed for extension - needs to be abstract, final or empty. 243
Method 'setKey' is not designed for extension - needs to be abstract, final or empty. 250
Parameter string should be final. 250
Expected @param tag for 'string'. 250
Method 'getKey' is not designed for extension - needs to be abstract, final or empty. 257
Method 'setKeyNewsList' is not designed for extension - needs to be abstract, final or empty. 264
Parameter list should be final. 264
Expected @param tag for 'list'. 264
Method 'getKeyNewsList' is not designed for extension - needs to be abstract, final or empty. 271
Method 'setMemberId' is not designed for extension - needs to be abstract, final or empty. 278
Parameter i should be final. 278
Expected @param tag for 'i'. 278
Method 'getMemberId' is not designed for extension - needs to be abstract, final or empty. 285
Method 'setNClassId' is not designed for extension - needs to be abstract, final or empty. 292
Parameter string should be final. 292
Expected @param tag for 'string'. 292
Method 'getNClassId' is not designed for extension - needs to be abstract, final or empty. 299
Parameter objectId should be final. 308
Method 'setPermitGroups' is not designed for extension - needs to be abstract, final or empty. 314
Parameter string should be final. 314
Expected @param tag for 'string'. 314
Method 'getPermitGroups' is not designed for extension - needs to be abstract, final or empty. 321
Method 'setRemarkNum' is not designed for extension - needs to be abstract, final or empty. 328
Parameter i should be final. 328
Expected @param tag for 'i'. 328
Method 'getRemarkNum' is not designed for extension - needs to be abstract, final or empty. 335
Method 'setTopicId' is not designed for extension - needs to be abstract, final or empty. 342
Parameter i should be final. 342
Expected @param tag for 'i'. 342
Method 'getTopicId' is not designed for extension - needs to be abstract, final or empty. 349
Method 'setUserId' is not designed for extension - needs to be abstract, final or empty. 356
Parameter i should be final. 356
Expected @param tag for 'i'. 356
Method 'getUserId' is not designed for extension - needs to be abstract, final or empty. 363
Method 'setWeekHits' is not designed for extension - needs to be abstract, final or empty. 370
Parameter i should be final. 370
Expected @param tag for 'i'. 370
Method 'getWeekHits' is not designed for extension - needs to be abstract, final or empty. 377

news/jdo/bean/NewsBeanBase.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 23
Variable 'date' must be private and have accessor methods. 55
Variable 'author' must be private and have accessor methods. 58
Variable 'newsClassId' must be private and have accessor methods. 61
Variable 'objectId' must be private and have accessor methods. 64
Variable 'summary' must be private and have accessor methods. 67
Variable 'title' must be private and have accessor methods. 70
Variable 'titleImg' must be private and have accessor methods. 73
Variable 'hits' must be private and have accessor methods. 76
Line has trailing spaces. 86
Method 'setAuthor' is not designed for extension - needs to be abstract, final or empty. 94
Parameter string should be final. 94
Method 'getAuthor' is not designed for extension - needs to be abstract, final or empty. 101
Method 'setClassId' is not designed for extension - needs to be abstract, final or empty. 108
Parameter string should be final. 108
Method 'getClassId' is not designed for extension - needs to be abstract, final or empty. 115
Method 'setDate' is not designed for extension - needs to be abstract, final or empty. 122
Parameter date should be final. 122
'date' hides a field. 122
Expected @param tag for 'date'. 122
Method 'getDate' is not designed for extension - needs to be abstract, final or empty. 129
Method 'setHits' is not designed for extension - needs to be abstract, final or empty. 136
Parameter i should be final. 136
Expected @param tag for 'i'. 136
Method 'getHits' is not designed for extension - needs to be abstract, final or empty. 143
Method 'setObjectId' is not designed for extension - needs to be abstract, final or empty. 150
Parameter objectId should be final. 150
'objectId' hides a field. 150
Method 'getObjectId' is not designed for extension - needs to be abstract, final or empty. 157
Unable to get class information for UtilException. 157
Method 'setSummary' is not designed for extension - needs to be abstract, final or empty. 175
Parameter string should be final. 175
Expected @param tag for 'string'. 175
Method 'getSummary' is not designed for extension - needs to be abstract, final or empty. 182
Method 'setTitle' is not designed for extension - needs to be abstract, final or empty. 189
Parameter string should be final. 189
Method 'getTitle' is not designed for extension - needs to be abstract, final or empty. 196
Line has trailing spaces. 197
Method 'setTitleImg' is not designed for extension - needs to be abstract, final or empty. 204
Parameter string should be final. 204
Method 'getTitleImg' is not designed for extension - needs to be abstract, final or empty. 211
Line has trailing spaces. 212
Method 'delete' is not designed for extension - needs to be abstract, final or empty. 219

news/jdo/bean/NewsClass.java

Error Line
Line does not match expected header line of ' GNU GENERAL PUBLIC LICENSE'. 1
Line is longer than 80 characters. 21
Variable 'childList' must be private and have accessor methods. 57
Variable 'newsList' must be private and have accessor methods. 60
Variable 'lastUpdate' must be private and have accessor methods. 63
Variable 'className' must be private and have accessor methods. 66
Variable 'headAd' must be private and have accessor methods. 69
Variable 'logo' must be private and have accessor methods. 72
Variable 'newsAd' must be private and have accessor methods. 75
Variable 'articleNum' must be private and have accessor methods. 78
Variable 'imgNewsNum' must be private and have accessor methods. 81
Variable 'listStyle' must be private and have accessor methods. 84
Variable 'orderId' must be private and have accessor methods. 87
Variable 'styleId' must be private and have accessor methods. 90
Variable 'topicNum' must be private and have accessor methods. 93
Variable 'newsClassId' must be private and have accessor methods. 96
Method 'setArticleNum' is not designed for extension - needs to be abstract, final or empty. 112
Parameter i should be final. 112
Expected @param tag for 'i'. 112
Method 'getArticleNum' is not designed for extension - needs to be abstract, final or empty. 119
Method 'getChildList' is not designed for extension - needs to be abstract, final or empty. 126
Method 'setClassName' is not designed for extension - needs to be abstract, final or empty. 133
Parameter string should be final. 133
Expected @param tag for 'string'. 133
Method 'getClassName' is not designed for extension - needs to be abstract, final or empty. 140
Method 'setHeadAd' is not designed for extension - needs to be abstract, final or empty. 147
Parameter string should be final. 147
Expected @param tag for 'string'. 147
Method 'getHeadAd' is not designed for extension - needs to be abstract, final or empty. 154
Method 'setImgNewsNum' is not designed for extension - needs to be abstract, final or empty. 161
Parameter i should be final. 161
Expected @param tag for 'i'. 161
Method 'getImgNewsNum' is not designed for extension - needs to be abstract, final or empty. 168
Method 'setLastUpdate' is not designed for extension - needs to be abstract, final or empty. 175
Parameter date should be final. 175
Expected @param tag for 'date'. 175
Method 'getLastUpdate' is not designed for extension - needs to be abstract, final or empty. 182
Method 'setListStyle' is not designed for extension - needs to be abstract, final or empty. 189
Parameter i should be final. 189
Expected @param tag for 'i'. 189
Method 'getListStyle' is not designed for extension - needs to be abstract, final or empty. 196
Method 'setLogo' is not designed for extension - needs to be abstract, final or empty. 203
Parameter string should be final. 203
Expected @param tag for 'string'. 203
Method 'getLogo' is not designed for extension - needs to be abstract, final or empty. 210
Method 'setNewsAd' is not designed for extension - needs to be abstract, final or empty. 217
Parameter string should be final. 217
Expected @param tag for 'string'. 217
Method 'getNewsAd' is not designed for extension - needs to be abstract, final or empty. 224
Method 'setNewsClassId' is not designed for extension - needs to be abstract, final or empty. 231
Parameter i should be final. 231
Expected @param tag for 'i'. 231
Method 'getNewsClassId' is not designed for extension - needs to be abstract, final or empty. 238
Method 'getNewsList' is not designed for extension - needs to be abstract, final or empty. 245
Parameter objectId should be final. 254
Method 'getObjectId' is not designed for extension - needs to be abstract, final or empty. 260
Unable to get class information for UtilException. 260
Method 'setOrderId' is not designed for extension - needs to be abstract, final or empty. 274
Parameter i should be final. 274
Expected @param tag for 'i'. 274
Method 'getOrderId' is not designed for extension - needs to be abstract, final or empty. 281
Method 'setStyleId' is not designed for extension - needs to be abstract, final or empty. 288
Parameter i should be final. 288
Expected @param tag for 'i'. 288
Method 'getStyleId' is not designed for extension - needs to be abstract, final or empty. 295
Method 'setTopicNum' is not designed for extension - needs to be abstract, final or empty. 302
Parameter i should be final. 302
Expected @param tag for 'i'. 302
Method 'getTopicNum' is not designed for extension - needs to be abstract, final or empty. 309
Method 'addChild' is not designed for extension - needs to be abstract, final or empty. 318
Parameter nc should be final. 318
Method 'addNews' is not designed for extension - needs to be abstract, final or empty. 331
Parameter nb should be final. 331
Method 'delete' is not designed for extension - needs to be abstract, final or empty. 338
Method 'removeChild' is not designed for extension - needs to be abstract, final or empty. 349
Parameter nc should be final. 349
Unable to get class information for UtilException. 349

news/jdo/bean/NewsNClass.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 21
Missing a Javadoc comment. 38
Variable 'parentClassId' must be private and have accessor methods. 42
Method 'setParentClassId' is not designed for extension - needs to be abstract, final or empty. 51
Parameter parentClassId should be final. 51
'parentClassId' hides a field. 51
Method 'getParentClassId' is not designed for extension - needs to be abstract, final or empty. 60

news/jdo/bean/NewsSys.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 21
Variable 'classList' must be private and have accessor methods. 59
Variable 'createdDate' must be private and have accessor methods. 62
Line has trailing spaces. 72
Method 'getClassList' is not designed for extension - needs to be abstract, final or empty. 82
Method 'getObjectId' is not designed for extension - needs to be abstract, final or empty. 89
Unable to get class information for UtilException. 89
Method 'addClass' is not designed for extension - needs to be abstract, final or empty. 105
Parameter nc should be final. 105
Method 'delete' is not designed for extension - needs to be abstract, final or empty. 112
Method 'deleteClass' is not designed for extension - needs to be abstract, final or empty. 119
Parameter nc should be final. 119
Expected @param tag for 'nc'. 119
Expected @throws tag for 'UtilException'. 119
Unable to get class information for UtilException. 119
Method 'init' is not designed for extension - needs to be abstract, final or empty. 128
Parameter pm should be final. 144
Unable to get class information for UtilException. 145
Parameter childList should be final. 179
Parameter child should be final. 179

news/jdo/bean/User.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 21
Variable 'userName' must be private and have accessor methods. 49
Variable 'userPwd' must be private and have accessor methods. 52
Variable 'userClass' must be private and have accessor methods. 55
Line has trailing spaces. 65

news/jibx/bean/NewsCommonXML.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 21
Missing a Javadoc comment. 50
Name 'RECORD_SIZE' must match pattern '^[a-z][a-zA-Z0-9]*$'. 54
'10' is a magic number. 54
Variable 'classList' must be private and have accessor methods. 59
Variable 'dayHotNewsList' must be private and have accessor methods. 62
Variable 'hotNewsList' must be private and have accessor methods. 65
Variable 'weekHotNewsList' must be private and have accessor methods. 68
Variable 'news' must be private and have accessor methods. 71
Variable 'pb' must be private and have accessor methods. 74
Variable 'msg' must be private and have accessor methods. 77
Method 'setClassCollection' is not designed for extension - needs to be abstract, final or empty. 101
Parameter classList should be final. 101
'classList' hides a field. 101
Line has trailing spaces. 104
Line is longer than 80 characters. 106
Avoid inline conditionals. 107
Line is longer than 80 characters. 108
Method 'setDayHotNews' is not designed for extension - needs to be abstract, final or empty. 116
Parameter dayHotNewsList should be final. 116
'dayHotNewsList' hides a field. 116
Expected @param tag for 'dayHotNewsList'. 116
Line has trailing spaces. 119
Line is longer than 80 characters. 121
Line is longer than 80 characters. 122
Line is longer than 80 characters. 123
Avoid inline conditionals. 123
Line is longer than 80 characters. 124
Line is longer than 80 characters. 125
Method 'setHeadLineNews' is not designed for extension - needs to be abstract, final or empty. 133
Parameter c should be final. 133
Expected @param tag for 'c'. 133
Line has trailing spaces. 136
Line is longer than 80 characters. 139
Line is longer than 80 characters. 140
Avoid inline conditionals. 140
Line is longer than 80 characters. 142
Method 'setHotNews' is not designed for extension - needs to be abstract, final or empty. 150
Parameter hotNewsList should be final. 150
'hotNewsList' hides a field. 150
Expected @param tag for 'hotNewsList'. 150
Line has trailing spaces. 153
Line is longer than 80 characters. 156
Avoid inline conditionals. 157
Method 'setMsg' is not designed for extension - needs to be abstract, final or empty. 167
Parameter msg should be final. 167
'msg' hides a field. 167
Expected @param tag for 'msg'. 167
Method 'setNews' is not designed for extension - needs to be abstract, final or empty. 174
Parameter news should be final. 174
'news' hides a field. 174
Expected @param tag for 'news'. 174
Method 'setNewsCollection' is not designed for extension - needs to be abstract, final or empty. 181
Parameter newsList should be final. 181
'newsList' hides a field. 181
Expected @param tag for 'newsList'. 181
Line has trailing spaces. 184
Method 'setPageBean' is not designed for extension - needs to be abstract, final or empty. 197
Parameter pb should be final. 197
'pb' hides a field. 197
Method 'getPageBean' is not designed for extension - needs to be abstract, final or empty. 206
Method 'setWeekHotNews' is not designed for extension - needs to be abstract, final or empty. 213
Parameter weekHotNewsList should be final. 213
'weekHotNewsList' hides a field. 213
Expected @param tag for 'weekHotNewsList'. 213
Line has trailing spaces. 216
Line is longer than 80 characters. 218
Line is longer than 80 characters. 219
Line is longer than 80 characters. 220
Avoid inline conditionals. 220
Line is longer than 80 characters. 221
Line is longer than 80 characters. 222
Method 'addNewsCollection' is not designed for extension - needs to be abstract, final or empty. 230
Parameter c should be final. 230
Expected @param tag for 'c'. 230
Avoid inline conditionals. 237

news/jibx/bean/NewsInfo.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 21
Missing a Javadoc comment. 48
Missing a Javadoc comment. 62
Line has trailing spaces. 65
Method 'setDayHotNews' is not designed for extension - needs to be abstract, final or empty. 75
Parameter c should be final. 75
Method 'getDayHotNews' is not designed for extension - needs to be abstract, final or empty. 82
Method 'setHotNews' is not designed for extension - needs to be abstract, final or empty. 91
Parameter c should be final. 91
Method 'getHotNews' is not designed for extension - needs to be abstract, final or empty. 98
Method 'setWeekHotNews' is not designed for extension - needs to be abstract, final or empty. 107
Parameter c should be final. 107
Method 'getWeekHotNews' is not designed for extension - needs to be abstract, final or empty. 114

news/jibx/bean/PageBean.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 21
Missing a Javadoc comment. 44
Variable 'currentPage' must be private and have accessor methods. 48
Variable 'perPageNum' must be private and have accessor methods. 51
Variable 'recordSize' must be private and have accessor methods. 54
Missing a Javadoc comment. 58
Method 'setCurrentPage' is not designed for extension - needs to be abstract, final or empty. 67
Parameter i should be final. 67
Expected @param tag for 'i'. 67
Method 'getCurrentPage' is not designed for extension - needs to be abstract, final or empty. 74
Method 'setPerPageNum' is not designed for extension - needs to be abstract, final or empty. 81
Parameter i should be final. 81
Expected @param tag for 'i'. 81
Method 'getPerPageNum' is not designed for extension - needs to be abstract, final or empty. 88
Method 'setRecordSize' is not designed for extension - needs to be abstract, final or empty. 95
Parameter i should be final. 95
Expected @param tag for 'i'. 95
Method 'getRecordSize' is not designed for extension - needs to be abstract, final or empty. 102

news/jibx/bean/SystemConfig.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 21
Missing a Javadoc comment. 44
Variable 'dateFormatter' must be private and have accessor methods. 48
Variable 'newsAdv' must be private and have accessor methods. 51
Variable 'pageSuffix' must be private and have accessor methods. 54
Variable 'remarkFilterWords' must be private and have accessor methods. 57
Variable 'rightPosition' must be private and have accessor methods. 60
Variable 'siteAdv' must be private and have accessor methods. 63
Variable 'siteCopyright' must be private and have accessor methods. 66
Variable 'siteEmail' must be private and have accessor methods. 69
Variable 'siteLogo' must be private and have accessor methods. 72
Variable 'siteName' must be private and have accessor methods. 75
Variable 'siteUrl' must be private and have accessor methods. 78
Variable 'smtpServer' must be private and have accessor methods. 81
Variable 'style' must be private and have accessor methods. 84
Variable 'uploadDir' must be private and have accessor methods. 87
Variable 'uploadFileExt' must be private and have accessor methods. 90
Variable 'isShowHits' must be private and have accessor methods. 93
Variable 'isShowNewPic' must be private and have accessor methods. 96
Variable 'pageSize' must be private and have accessor methods. 99
Variable 'showModel' must be private and have accessor methods. 102
Variable 'uploadFileSize' must be private and have accessor methods. 105
Method 'getPageSize' is not designed for extension - needs to be abstract, final or empty. 114
Method 'setPageSuffix' is not designed for extension - needs to be abstract, final or empty. 123
Parameter pageSuffix should be final. 123
'pageSuffix' hides a field. 123
Method 'getPageSuffix' is not designed for extension - needs to be abstract, final or empty. 132

news/test/JDOTest.java

Error Line
Missing a header - not enough lines in file. 1
Missing a Javadoc comment. 34
Missing a Javadoc comment. 37
Line has trailing spaces. 40
Method 'writeClass' is not designed for extension - needs to be abstract, final or empty. 52
Line has trailing spaces. 53
Redundant throws: 'FileNotFoundException' is subclass of 'IOException'. 53
Redundant throws: 'IOException' is subclass of 'PropertiesFileReadException'. 53
Unable to get class information for PropertiesFileReadException. 53
Unable to get class information for PropertiesFileReadException. 54

news/test/JDOTestTest.java

Error Line
Missing a header - not enough lines in file. 1
Missing a Javadoc comment. 27
Parameter arg0 should be final. 35
Expected @param tag for 'arg0'. 35
Method 'testWriteClass' is not designed for extension - needs to be abstract, final or empty. 48
Line has trailing spaces. 49
Redundant throws: 'FileNotFoundException' is subclass of 'IOException'. 49
Redundant throws: 'IOException' is subclass of 'PropertiesFileReadException'. 49
Unable to get class information for PropertiesFileReadException. 49
Unable to get class information for PropertiesFileReadException. 50

news/test/JibxUtilTest.java

Error Line
Missing a header - not enough lines in file. 1
Missing a Javadoc comment. 42
Parameter arg0 should be final. 50
Expected @param tag for 'arg0'. 50
Method 'testMarshallDocumentObjectStringOutputStream' is not designed for extension - needs to be abstract, final or empty. 59
Missing a Javadoc comment. 59
Line has trailing spaces. 60
Redundant throws: 'SQLException' is subclass of 'LogicException'. 60
Unable to get class information for LogicException. 60
Line has trailing spaces. 61
Redundant throws: 'LogicException' is subclass of 'FileNotFoundException'. 61
Unable to get class information for LogicException. 61
Line has trailing spaces. 62
Line is longer than 80 characters. 62
Redundant throws: 'FileNotFoundException' is subclass of 'JiBXException'. 62
Unable to get class information for JiBXException. 62
Unable to get class information for JiBXException. 63
'123' is a magic number. 66
'23' is a magic number. 67
'32' is a magic number. 68
Missing a Javadoc comment. 84
Method 'getPM' is not designed for extension - needs to be abstract, final or empty. 95
Redundant throws: 'SQLException' is subclass of 'LogicException'. 95
Unable to get class information for LogicException. 95
Unable to get class information for LogicException. 95